package com.yhq.basic.algorithm.array;

/**
 * @author hqyin
 * @date 2023/8/24 3:56 下午
 */
public class MyLRUCacheTest {
    public static void main(String[] args) {
        MyLRUCache<Integer,String> cache = new MyLRUCache<>(3);
        cache.put(1,"A");
        cache.put(2,"B");
        cache.put(3,"C");
        System.out.println(cache);
        cache.put(4,"D");
        System.out.println(cache);
        cache.get(2);
        System.out.println(cache);

    }
}
